#Mkefile
CROSS_COMPILE=arm-linux-
ARCH:=arm
CC:=$(CROSS_COMPILE)gcc
LD:=$(CROSS_COMPILE)ld
obj-m = PHY_drv.o
module-objs = m88e1145.o

KDIR = /home/qifei/linux-2.6.32
PWD = $(shell pwd)
default:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules ARCH=arm CROSS_COMPILE=arm-linux-
clean:
	rm -rf *.o *.ko *~ *.order *.symvers *.mod.c
